import { ModuleWithDefaultExport } from '../constants.js';
export declare type ResourceStatus = 'pending' | 'error' | 'success';
export declare type Resource<T> = {
    read: () => T;
};
export declare function createSuspendingResourceFromPromiseFactory<T>(promiseFactory: () => Promise<T>): Resource<T>;
export declare function createPerModuleLoadResource<T>(moduleURL: string): Resource<ModuleWithDefaultExport<T>>;
